package com.iraeta;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "weixin")
public class WeiXinConfig {
    private String compId;
    private String appId;
    private String txlSecret;   //通讯录的secret
    private String appSecret;

    public String getCompId() {
        return compId;
    }

    public void setCompId(String compId) {
        this.compId = compId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getTxlSecret() {
        return txlSecret;
    }

    public void setTxlSecret(String txlSecret) {
        this.txlSecret = txlSecret;
    }
}
